package io.renren.modules.sys.service.impl;

import io.renren.modules.sys.dao.TestDao;
import io.renren.modules.sys.service.Test2Service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

@Service
public class Test2ServiceImpl implements Test2Service {
    @Autowired
    TestDao test2Dao;

    @Override
    public String getUserNameByMobile(Map<String, String> mobile) {

        return test2Dao.getUserNameByMobile(mobile);
    }

    @Override
    public void updateOrderStatusByOrderNum(String OrderNum) {
        test2Dao.updateOrderStatusByOrderNum(OrderNum);
    }
}
